package com.parenting.request.wechat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
@Data
@Accessors(chain = true)
@ApiModel(value = "ForgetPasswordRequest对象" ,description ="忘记密码对象" )
public class ForgetPasswordRequest implements Serializable {

    @ApiModelProperty(value = "手机号", required = true)
    @NotNull(message = "确认密码不能为空")
    private String phone;

    @ApiModelProperty(value = "账号", required = true)
    @NotNull(message = "确认密码不能为空")
    private String account;

    @ApiModelProperty(value = "密码", required = true)
    @NotNull(message = "确认密码不能为空")
    private String password;

    @ApiModelProperty(value = "验证码", required = true)
    @NotNull(message = "验证码不能为空")
    private  String code;
}
